package com.board.form;
//查询账号拥有的角色
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

@Data
@ApiModel("查询账号拥有的角色")
public class AccountRoleForm {
    @ApiModelProperty("根据用户名查询")
    private String accountName; //根据用户名查询的条件
    @ApiModelProperty("页码")
    @Min(value = 1,message = "页码不能小于1")
    private Integer pageNum;
    @ApiModelProperty("每页条数")
    @Min(value = 1,message = "每页条数不能小于1")
    @Max(value = 100,message = "每页条数不能大于100")
    private Integer pageSize;
}
